package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void add(DishDTO dish);

    PageResult query(DishPageQueryDTO queryDTO);

    void del(String ids);

    DishVO getById(Long id);

    void updateStatus(Long id, Integer status);

    void update(DishDTO dish);

    List<Dish> listByCatehoryId(Long categoryId);

    List<DishVO> listWithFlavor(Dish dish);
}
